<?php
/**
 * 用户地址列表关联视图
 * @author hushuai
 * 
 */
class AddMemberViewModel extends ViewModel {
	
	public $viewFields = array(
			
     'Address'=>array(
     		'id',
     		'address',
     		'_as'  => 'a',
     		'_type'=> 'left',
      ),
			
     'Member'=>array(
     		'mobile',
     		'username',
     		'email',
     		'_as'  => 'm',
     		'_on'  => 'a.userid=m.id'
     	)
   );
	
}


?>